<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// [ 应用入口文件 ]

// 定义应用目录
define('APP_PATH', __DIR__ . '/../application/');
//网站根目录
//define("__ROOT__",str_replace("\\","/",str_replace("\\public","",__DIR__)));
//模板路径
define('TEM_HTML',dirname(__FILE__) . "/../html/");


//加载 短信推送的 sdk
define('JPUSH',dirname(__FILE__) . "/jpush/");

//日志路径
define('LOGPATH',dirname(__DIR__) . "/runtime/");


// 加载框架引导文件
require __DIR__ . '/../thinkphp/start.php';
